home *** CD-ROM | disk | FTP | other *** search
/ Resource for Source: C/C++ / Resource for Source - C-C++.iso / codelib8 / v_10_09 / 1009062a < prev    next >
Encoding:
Text File  |  1995-11-01  |  429 b   |  30 lines

  1.  
  2. /*
  3.     Listing 1
  4. */
  5.  
  6. static char bold[] = {'\33', '[', '1', 'm', '\0'};
  7. static char norm[] = {'\33', '[', '0', 'm', '\0'};
  8.  
  9. #define ORIGIN 0
  10.  
  11. #define IDLE    0
  12. #define WANT_IN 1
  13. #define IN_CS   2
  14.  
  15. #define NORMAL 0
  16. #define STOP   1
  17.  
  18. #define CLEAR 0
  19. #define READY  1
  20.  
  21. #define PROCESSES 3
  22.  
  23. #define NODE0   0
  24. #define NODE1   1
  25. #define NODE2   2
  26.  
  27. #define TURN_LOC PROCESSES+0
  28. #define NODE1_LOC PROCESSES+1
  29. #define NODE2_LOC PROCESSES+2
  30.